﻿using BlueDot.Mobile.Core;

namespace SqlMergeReplication.Controllers
{
    public interface IAuthenticationController
    {
        #region public

        /// <summary>
        /// Authenticates the user.
        /// </summary>
        /// <param name="userName">Name of the user.</param>
        /// <param name="password">The password.</param>
        /// <returns></returns>
        bool AuthenticateUser(string userName, string password);

        /// <summary>
        /// Logs the out user.
        /// </summary>
        /// <returns></returns>
        WorkflowRedirectCallback LogOutUser();

        #endregion
    }
}